﻿using System;
using Validate.Library;

namespace Authority.Model
{
    /// <summary>
    /// 用户密码修改信息
    /// </summary>
    public class UserPswModifyRequest
    {
        /// <summary>
        /// 唯一编码
        /// </summary>
        //[Validate(ValidateType.NotEmpty, Description = "唯一标识符")]
        public String Code { get; set; }

        /// <summary>
        /// 旧密码
        /// </summary>
        [Validate(ValidateType.NotEmpty, Description = "旧密码")]
        public string OldPsw { get; set; }

        /// <summary>
        /// 新密码
        /// </summary>
        [Validate(ValidateType.NotEmpty, Description = "新密码")]
        public string NewPsw { get; set; }
    }
}
